package com.qst.system.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.qst.common.annotation.Excel;
import com.qst.system.domain.Aptitude;
import com.qst.system.domain.Bank;
import com.qst.system.domain.Company;

import java.util.Date;

public class LoansVo {

    /** id */
    private Long loaId;

    /** 贷款编号，自动生成 */
    @Excel(name = "贷款编号，自动生成")
    private String loaNo;

    /** 企业ID
     */
    @Excel(name = "企业ID")
    private Long loaComNo;

    /** 银行id */
    @Excel(name = "银行id")
    private Long loaBankId;

    /** 贷款期限 */
    @Excel(name = "贷款期限")
    private Long loaLisId;

    /** 贷款用途 */
    @Excel(name = "贷款用途")
    private String loaUse;

    /** 贷款积分 */
    @Excel(name = "贷款积分")
    private String loaIntegral;

    /** 贷款利率 */
    @Excel(name = "贷款利率")
    private String loaRate;

    /** 贷款状态 0 未审批 1平台已通过 2 平台已驳回 3银行已审核 4 银行驳回，5待签约，6 待银行放款 7，放款完成 */
    @Excel(name = "贷款状态 0 未审批 1平台已通过 2 平台已驳回 3银行已审核 4 银行驳回，5待签约，6 待银行放款 7，放款完成")
    private String loaState;

    /** 贷款时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "贷款时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date loaTime;

    /** 贷款金额 */
    @Excel(name = "贷款金额")
    private Long loaMoney;

    /** 到期时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "到期时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date loaEndTime;

    /** 删除标识 0 正常 2 删除 */
    @Excel(name = "删除标识 0 正常 2 删除")
    private String loaDel;

    /** 收款账户 */
    @Excel(name = "收款账户")
    private String bAccountNo;

    /** 收款人 */
    @Excel(name = "收款人")
    private String bName;

    /** 开户行 */
    @Excel(name = "开户行")
    private String bBankName;

    /** 身份证号 */
    @Excel(name = "身份证号")
    private String bIdcard;

    /** 签约材料 */
    @Excel(name = "签约材料")
    private String loaSign;

    /** 公司信息 */
    @Excel(name = "公司信息")
    private Company company;

    /** 额度信息 */
    @Excel(name = "额度信息")
    private Aptitude aptitude;

    /** 银行信息 */
    @Excel(name = "银行信息")
    private Bank bank;

    public Long getLoaId() {
        return loaId;
    }

    public void setLoaId(Long loaId) {
        this.loaId = loaId;
    }

    public String getLoaNo() {
        return loaNo;
    }

    public void setLoaNo(String loaNo) {
        this.loaNo = loaNo;
    }

    public Long getLoaComNo() {
        return loaComNo;
    }

    public void setLoaComNo(Long loaComNo) {
        this.loaComNo = loaComNo;
    }

    public Long getLoaBankId() {
        return loaBankId;
    }

    public void setLoaBankId(Long loaBankId) {
        this.loaBankId = loaBankId;
    }

    public Long getLoaLisId() {
        return loaLisId;
    }

    public void setLoaLisId(Long loaLisId) {
        this.loaLisId = loaLisId;
    }

    public String getLoaUse() {
        return loaUse;
    }

    public void setLoaUse(String loaUse) {
        this.loaUse = loaUse;
    }

    public String getLoaIntegral() {
        return loaIntegral;
    }

    public void setLoaIntegral(String loaIntegral) {
        this.loaIntegral = loaIntegral;
    }

    public String getLoaRate() {
        return loaRate;
    }

    public void setLoaRate(String loaRate) {
        this.loaRate = loaRate;
    }

    public String getLoaState() {
        return loaState;
    }

    public void setLoaState(String loaState) {
        this.loaState = loaState;
    }

    public Date getLoaTime() {
        return loaTime;
    }

    public void setLoaTime(Date loaTime) {
        this.loaTime = loaTime;
    }

    public Long getLoaMoney() {
        return loaMoney;
    }

    public void setLoaMoney(Long loaMoney) {
        this.loaMoney = loaMoney;
    }

    public Date getLoaEndTime() {
        return loaEndTime;
    }

    public void setLoaEndTime(Date loaEndTime) {
        this.loaEndTime = loaEndTime;
    }

    public String getLoaDel() {
        return loaDel;
    }

    public void setLoaDel(String loaDel) {
        this.loaDel = loaDel;
    }

    public String getbAccountNo() {
        return bAccountNo;
    }

    public void setbAccountNo(String bAccountNo) {
        this.bAccountNo = bAccountNo;
    }

    public String getbName() {
        return bName;
    }

    public void setbName(String bName) {
        this.bName = bName;
    }

    public String getbBankName() {
        return bBankName;
    }

    public void setbBankName(String bBankName) {
        this.bBankName = bBankName;
    }

    public String getbIdcard() {
        return bIdcard;
    }

    public void setbIdcard(String bIdcard) {
        this.bIdcard = bIdcard;
    }

    public String getLoaSign() {
        return loaSign;
    }

    public void setLoaSign(String loaSign) {
        this.loaSign = loaSign;
    }

    public Company getCompany() {
        return company;
    }

    public void setCompany(Company company) {
        this.company = company;
    }

    public Aptitude getAptitude() {
        return aptitude;
    }

    public void setAptitude(Aptitude aptitude) {
        this.aptitude = aptitude;
    }

    public Bank getBank() {
        return bank;
    }

    public void setBank(Bank bank) {
        this.bank = bank;
    }

    @Override
    public String toString() {
        return "LoansVo{" +
                "loaId=" + loaId +
                ", loaNo='" + loaNo + '\'' +
                ", loaComNo=" + loaComNo +
                ", loaBankId=" + loaBankId +
                ", loaLisId=" + loaLisId +
                ", loaUse='" + loaUse + '\'' +
                ", loaIntegral='" + loaIntegral + '\'' +
                ", loaRate='" + loaRate + '\'' +
                ", loaState='" + loaState + '\'' +
                ", loaTime=" + loaTime +
                ", loaMoney=" + loaMoney +
                ", loaEndTime=" + loaEndTime +
                ", loaDel='" + loaDel + '\'' +
                ", bAccountNo='" + bAccountNo + '\'' +
                ", bName='" + bName + '\'' +
                ", bBankName='" + bBankName + '\'' +
                ", bIdcard='" + bIdcard + '\'' +
                ", loaSign='" + loaSign + '\'' +
                ", company=" + company +
                ", aptitude=" + aptitude +
                '}';
    }
}
